package com.dw.dwdzcommerce.tools.commons;

import java.util.ArrayList;

public class ArrayUtil {

	public static <T> ArrayList<T> array2Lis(T[] objects) {
		ArrayList<T> array = new ArrayList<T>(objects.length);
		for (int i = 0; i < objects.length; i++) {
			array.add(objects[i]);
		}
		return array;
	}
}
